package com.taotao.order.service;

import java.util.List;

import com.taotao.common.pojo.TaotaoResult;
import com.taotao.pojo.TbOrder;
import com.taotao.pojo.TbOrderItem;
import com.taotao.pojo.TbOrderShipping;

public interface IOrderService {

	TaotaoResult createOrder(TbOrder order, List<TbOrderItem> orderItem, TbOrderShipping orderShipping);

	TaotaoResult getOrderItemByOrderId(String orderId);

	TaotaoResult getOrderItemByUserIdWithPage(Long userId, Integer page, Integer rows);

	TaotaoResult changeStatus(String orderId, Integer status, Long paymentTime);
}
